package com.xiaomazi.edu.client;

import com.xiaomazi.common.utils.R;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @program: llxy-parent
 * @description: 熔断方法
 * @author: 小马子
 * @create: 2023-02-22 23:27
 **/
@Component
public class VideoClientImpl implements VideoClient{
    @Override
    public R removeAlyVideo(String id) {
        return R.error().message("删除视频出错了");
    }

    @Override
    public R deleteBatch(List<String> videoIdList) {
        return R.error().message("批量删除视频出错了");
    }
}
